package com.zhl.dao;

import java.util.List;

import org.springframework.data.mongodb.core.query.Query;
import org.springframework.data.mongodb.core.query.Update;

import com.zhl.model.Employee;

public interface EmployeeDao {

	public void insert(Employee employee);
	
	public List<Employee> find();
	
	public List<Employee> find(Query query);
	
	public void update(Query query, Update update);
	
	public void delete(Query query);
	
}
